﻿using GameTools.Views.Pages;
using System.Windows;
using Wpf.Ui.Appearance;
using Wpf.Ui.Controls;

namespace GameTools.Views
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : FluentWindow
    {
        public MainWindow()
        {
            InitializeComponent();
            this.Loaded += OpenHome;
            ApplicationThemeManager.Apply(this);
        }

        private void OpenHome(object sender, RoutedEventArgs e)
        {
            RootNavigation.Navigate(typeof(HomePage));
        }
    }
}
